from django.contrib import admin
from django.urls import path

from main.models import DesignModel
from main.views import IndexView, DesignModelListView, DesignModelDetailView, index

app_name= 'main'





urlpatterns = [
    # path('index/', index, name='index'),
    # path('', HomeTemplateView.as_view(), name='index')
    path('',index,name='index'),
    path("designmodel/",DesignModelListView.as_view(),name="designmodel"),
    path("designmodel/<int:pk>/",DesignModelDetailView.as_view(),name="designmodel_detail")
]